package com.ktgj.customer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 商城轮播对象 mall_banner
 * 
 * @author ruoyi
 * @date 2022-06-13
 */
public class MallBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播主键id */
    private Long bannerId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 所属模块编号 1.首页轮播 2.库存轮播 3.一行一列 4.一行两列 5.一行一列[商城] */
    @Excel(name = "所属模块编号 1.首页轮播 2.库存轮播 3.一行一列 4.一行两列 5.一行一列[商城]")
    private Long typeId;

    /** 是否审核 */
    @Excel(name = "是否审核")
    private String ifpass;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String bannerPath;

    /** 触发链接 */
    @Excel(name = "触发链接")
    private String navigateUrl;

    /** 0：全部、1： 小程序 2：APP */
    @Excel(name = "0：全部、1： 小程序 2：APP")
    private Long apptypeId;

    /** 1、小程序 2、h5  3、APP 4、不跳转 */
    @Excel(name = "1、小程序 2、h5  3、APP 4、不跳转")
    private Long jumbtypeId;

    /** $column.columnComment */
    @Excel(name = "1、小程序 2、h5  3、APP 4、不跳转")
    private String miniUrl;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "删除时间")
    private Date deleteTime;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private String display;

    public void setBannerId(Long bannerId) 
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId() 
    {
        return bannerId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setIfpass(String ifpass) 
    {
        this.ifpass = ifpass;
    }

    public String getIfpass() 
    {
        return ifpass;
    }
    public void setBannerPath(String bannerPath) 
    {
        this.bannerPath = bannerPath;
    }

    public String getBannerPath() 
    {
        return bannerPath;
    }
    public void setNavigateUrl(String navigateUrl) 
    {
        this.navigateUrl = navigateUrl;
    }

    public String getNavigateUrl() 
    {
        return navigateUrl;
    }
    public void setApptypeId(Long apptypeId) 
    {
        this.apptypeId = apptypeId;
    }

    public Long getApptypeId() 
    {
        return apptypeId;
    }
    public void setJumbtypeId(Long jumbtypeId) 
    {
        this.jumbtypeId = jumbtypeId;
    }

    public Long getJumbtypeId() 
    {
        return jumbtypeId;
    }
    public void setMiniUrl(String miniUrl) 
    {
        this.miniUrl = miniUrl;
    }

    public String getMiniUrl() 
    {
        return miniUrl;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }

    public String getDisplay() {
        return display;
    }

    public void setDisplay(String display) {
        this.display = display;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("title", getTitle())
            .append("typeId", getTypeId())
            .append("ifpass", getIfpass())
            .append("bannerPath", getBannerPath())
            .append("navigateUrl", getNavigateUrl())
            .append("apptypeId", getApptypeId())
            .append("jumbtypeId", getJumbtypeId())
            .append("miniUrl", getMiniUrl())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
